package org.example.mapper;

import org.example.entity.Permission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author guocb
 * @since 2021-03-01
 */
public interface PermissionMapper extends BaseMapper<Permission> {


    List<Permission> selectPermission(Long roleId);

    List<Permission> selectRolePermission(Long roleId);
}
